package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("t_user")
@Accessors(chain = true)//链式调用 相当于setXxx(){ return this;}
public class User {
    @TableId(type = IdType.AUTO)
    private Integer usrId;
    private String usrAccount;
    private String usrPassword;
    private Double usrMoney;


}
